package com.app.service;

import com.app.common.Result;
import com.app.model.Article;
import com.app.vo.AdminRoleVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yoominic
 * @since 2024-06-20
 */
public interface IArticleService extends IService<Article> {

    Result<List<Article>> getMiniArticles(String code);

    Result<Object> getAdminArticles(Integer page, Integer limit);

    Result<Object> updateArticle(Article article);
}
